package com.olymtech.jbricks.dingtalk.message.delivery;

import java.util.List;

/**
 * 工作消息通知
 *
 * @author haoting.wang
 * @date 2020/12/10 4:06 下午
 **/
public class WorkMessageDelivery extends MessageDelivery {


    private Long agentId;

    private List<String> useridList;

    private List<String> deptIdList;

    private boolean toAllUser;

    @Override
    public MessageDeliveryType type() {
        return MessageDeliveryType.WORK;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public List<String> getUseridList() {
        return useridList;
    }

    public void setUseridList(List<String> useridList) {
        this.useridList = useridList;
    }

    public List<String> getDeptIdList() {
        return deptIdList;
    }

    public void setDeptIdList(List<String> deptIdList) {
        this.deptIdList = deptIdList;
    }

    public boolean isToAllUser() {
        return toAllUser;
    }

    public void setToAllUser(boolean toAllUser) {
        this.toAllUser = toAllUser;
    }
}
